home *** CD-ROM | disk | FTP | other *** search
-
-
-
- GGGGEEEETTTTDDDDTTTTAAAABBBBLLLLEEEEHHHHIIII((((3333CCCC)))) GGGGEEEETTTTDDDDTTTTAAAABBBBLLLLEEEEHHHHIIII((((3333CCCC))))
-
-
-
- NNNNAAAAMMMMEEEE
- getdtablehi - get largest open file descriptor index
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<uuuunnnniiiissssttttdddd....hhhh>>>>
-
- iiiinnnntttt ggggeeeettttddddttttaaaabbbblllleeeehhhhiiii((((vvvvooooiiiidddd))));;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _gggg_eeee_tttt_dddd_tttt_aaaa_bbbb_llll_eeee_hhhh_iiii returns the index of the largest open descriptor for the
- calling process plus one. The 'plus one' makes _gggg_eeee_tttt_dddd_tttt_aaaa_bbbb_llll_eeee_hhhh_iiii an ideal
- replacement for _gggg_eeee_tttt_dddd_tttt_aaaa_bbbb_llll_eeee_ssss_iiii_zzzz_eeee(2) when the program wishes simply to loop
- through and act on all open file descriptors, rather than up to the
- system maximum.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- close(2), getdtablesize(2), intro(2), open(2), select(2), setrlimit(2)
- dup(3C).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-